.el-cascader__dropdown {
  .el-cascader-node__label {
    @include flex-item;
  }

  .el-cascader-node {
    padding: 0 10px;
  }

  .el-cascader-node__postfix,
  .el-cascader-node__prefix {
    position: static;
  }
}

.el-cascader {
  .el-cascader__tags {
    flex-wrap: nowrap;
    overflow: hidden;

    .el-tag {
      .el-icon-close {
        top: 0;
      }

      &:first-child {
        @include flex-item;
        max-width: fit-content;
        overflow: hidden;
      }

      &:last-child {
        flex-basis: 36px;
        flex-shrink: 0;
      }
    }
  }
}
